package com.xique.door.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xique.door.bean.domain.BuildElevator;
import com.xique.door.bean.request.buildElevator.BuildElevatorListRequest;

import java.util.List;

/**
 * @author shd
 * @create 2022/3/29 11:25
 */
public interface IBuildElevatorService extends IService<BuildElevator> {

    /**
     * 获取电梯列表
     * @author shd
     * @date 2022/3/29 11:33
     * @param request
     * @return java.util.List<com.xique.door.bean.domain.BuildElevator>
     */
    IPage<BuildElevator> pageList(BuildElevatorListRequest request);

    /**
     * 获取电梯列表
     * @author shd
     * @date 2022/3/29 11:33
     * @param request
     * @return java.util.List<com.xique.door.bean.domain.BuildElevator>
     */
    List<BuildElevator> list(BuildElevatorListRequest request);

    /**
     * 新增电梯
     * @author shd
     * @date 2022/3/29 13:56
     * @param elevator
     * @return boolean
     */
    int insert(BuildElevator elevator);

    /**
     * 更新电梯
     * @author shd
     * @date 2022/3/29 14:04
     * @param elevator
     * @return int
     */
    int update(BuildElevator elevator);
}
